package com.rose.springbootgeneratefile.api;

import com.rose.springbootgeneratefile.exception.ShellException;

import java.io.File;

public interface ShellCallback {

    File getDirectory(String targetProject, String targetPackage)
            throws ShellException;

    String mergeJavaFile(String newFileSource, String existingFileFullPath,
                         String[] javadocTags, String fileEncoding) throws ShellException;


    void refreshProject(String project);


    boolean isMergeSupported();


    boolean isOverwriteEnabled();
}